<?php

namespace App\Http\Controllers;

use App\Http\Service\Impl\OrdersImpl;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\DB;
use App\Http\Service;
use Ramsey\Uuid\Uuid;
use Illuminate\Support\Facades\Storage;
use Maatwebsite\Excel\Facades\Excel;
use function foo\func;


class OrdersController extends Controller
{
    private $Orderservice;
    public function __construct()
    {
        $this->Orderservice = new OrdersImpl();
    }

    /**
     * 订单视图列表
     */
    public function view_orderlist(){
        return view("Orders.orderlist");
    }

    /**
     * 订单列表
     */
    public function orderslist(Request $request){
        return $this->Orderservice->orderslist($request);
    }

}
